﻿@page "/table"
@attribute [TabItemOption(Text = "Table")]
@rendermode InteractiveAuto
<PageTitle>Table</PageTitle>

<Table TItem="Foo" AutoGenerateColumns="true" class="table-demo"
        IsPagination="true" PageItemsSource="PageItemsSource" RenderMode="TableRenderMode.Table"
        IsStriped="true" IsBordered="true" IsMultipleSelect="true"
        ShowSkeleton="true" ShowToolbar="true" ShowSearch="true" ShowExtendButtons="true"
        OnQueryAsync="OnQueryAsync" OnSaveAsync="OnSaveAsync" OnDeleteAsync="OnDeleteAsync">
    <TableColumns>
        <TableColumn @bind-Field="@context.Hobby" Items="GetHobbies(context)" />
    </TableColumns>
</Table>
